package teste;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.StreamTokenizer;
import java.util.StringTokenizer;

public class Toke {
	public static void main(String[] args) throws IOException{

		FileReader rd = new FileReader("d:\\XML\\notas.txt");   


		
	     StreamTokenizer st = new StreamTokenizer(rd);
	     while (st.nextToken()!= StreamTokenizer.TT_EOF) {
	         String word = st.sval;
	         //System.out.println( word.toString() + " \n " );
	         System.out.println(word);
	     }
	}
}
